gtk/gtkgladecatalog.c: Fix Visual Studio Builds
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 15 Sep 2014 04:26:32 +0000 (12:26 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 15 Sep 2014 04:26:32 +0000 (12:26 +0800)
The _GDK_EXTERN decoration needs to be with the function prototype, if one
exists, so move the _GDK_EXTERN decoration up.

gtk/gtkgladecatalog.c

index 44f91e07e3131dae2e45dd43db3b81fa06482a0c..e4e3dd0f2bd213da4821ca6b55ef36e23a90fc2a 100644 (file)
 #  include "gtkprinteroptionwidget.h"
 #endif
 
+_GDK_EXTERN
 void gtk_glade_catalog_init (const gchar *catalog_name);
 
 /* This function is referred to in gtk/glade/gtk-private-widgets.xml
  * and is used to ensure the private types for use in Glade while
  * editing UI files that define GTK+’s various composite widget classes.
  */
-_GDK_EXTERN void
+void
 gtk_glade_catalog_init (const gchar *catalog_name)
 {
   g_type_ensure (GTK_TYPE_PATH_BAR);